]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Close calendar when opening app
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Feb 2015 04:59:01 +0000 (05:59 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 16:39:26 +0000 (17:39 +0100)
Just like we leave the overview when activating a notification,
the calendar popup should be closed - after all, the only case
where the calendar is open when a notification's default action
is activated is the user clicking an entry in the message list's
notification section.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

js/ui/notificationDaemon.js

index 3731a17f3244e787760a8eaf214f573464ca8aed..feb91854d53870ef9018bcdda8dd61afcd4c6b7c 100644 (file)
@@ -561,6 +561,7 @@ const FdoNotificationDaemonSource = new Lang.Class({
 
         this.app.activate();
         Main.overview.hide();
+        Main.panel.closeCalendar();
     },
 
     destroy: function() {